<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<f:view>
		<h:form>
			<h:panelGrid id="tableBid" columns="2">
				<h:outputText value="Bidder: " />
				<h:inputText id="txtBid" value="#{placeBidBean.bid.bidderId}" />
				
				<h:outputText value="Item: " />
				<h:inputText id="txtItem" value="#{placeBidBean.bid.itemId}" />

				<h:outputText value="Amont: " />
				<h:inputText id="txtPrice" value="#{placeBidBean.bid.bidPrice}" />				

				<h:outputLabel value="" />
				<h:commandButton actionListener="#{placeBidBean.adicionarPlaceBid}" value="Submit" />					
			</h:panelGrid>
			
		</h:form>
	</f:view>
</body>
</html>